package com.firexxx.study.web.response;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2020/04/09 16:33
 */
public enum Success implements ReturnCode {
    SUCCESS("0000", "成功");

    private String code;
    private String desc;

    Success(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }}